// AlarmThread.h: interface for the AlarmThread class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ALARMTHREAD_H__E86A05EF_4E1C_44C5_94C2_E084DEF401A8__INCLUDED_)
#define AFX_ALARMTHREAD_H__E86A05EF_4E1C_44C5_94C2_E084DEF401A8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "CommonLib\Thread.h"
#include "sapi.h"

class AlarmThread : public Thread  
{
public:
	AlarmThread();
	virtual ~AlarmThread();

  virtual bool InitInstance();
  virtual bool ExitInstance();
  virtual int Run();

  void Cancel() {m_bCancel = true;}

protected:
  bool m_bCancel;
  ISpVoice * m_pVoice;
};

#endif // !defined(AFX_ALARMTHREAD_H__E86A05EF_4E1C_44C5_94C2_E084DEF401A8__INCLUDED_)
